﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Innova.Microfinanzas.BusinessEntities;
using Innova.Microfinanzas.BusinessEntities.SystemEnums;
using Innova.FoundationFramework.DataTypes;

namespace MyCommerce.Presentation.Stores.IViews
{
    public interface IProductFill
    {
        long IdItemEdit { get; set; }
        OptionSelect OptionViewSelect { get; set; }
        List<Classifier> ColCategory { set; }
        List<Classifier> ColMark { set; }
        List<Classifier> ColProductType { set; }

        Product Get();
        void Set(Product objProductToLoad);
        void CloseAndSetResult(bool result);

        event GenericEventHandler<Product> OnLoadView;
        event EventHandler OnSave;
        event EventHandler OnCancel;
        event GenericEventHandler<long> OnChargeCategory;
    }
}
